package com.hoapital.outpbillwork.module.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hoapital.outpbillwork.module.entity.LabTestMaster;
import com.hospital.common.core.module.controller.vo.CancelOrder;
import com.hoapital.outpbillwork.module.controller.vo.OrderInfo;
import com.hospital.common.core.module.controller.vo.Receive;

import java.text.ParseException;
import java.util.Map;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author lvyao
 * @since 2021-02-25
 */
public interface LabTestMasterService extends IService<LabTestMaster> {
    int updateChargeFlag(String testNo);

    String getTestNo(String visitDate, String visitNo);

    boolean saveBillLab(Receive receive) throws ParseException;

    Map<String, String> saveOrderLab(OrderInfo orderInfo) throws ParseException;

    boolean cancelLab(CancelOrder cancelOrder);
}
